//
//  TitleShowImageTableViewCell.m
//  WuliHanhan
//
//  Created by tang on 16/3/17.
//  Copyright © 2016年 LVpeng. All rights reserved.
//

#import "TitleShowImageTableViewCell.h"


@interface TitleShowImageTableViewCell ()
{
    UIImageView *backIMageView;
}

@end





@implementation TitleShowImageTableViewCell



- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        [self setBackgroundColor:[UIColor clearColor]];
        [self initUI];
    }
    
    return self;
}





- (void)initUI
{
    backIMageView = [[UIImageView alloc] initWithFrame:CGRectMake(4, 8, 43, 43)];
    [backIMageView setBackgroundColor:[UIColor blueColor]];
    [self addSubview:backIMageView];
}





//加载图片
- (void)setImageModelWithDataBase:(UIImage *)imageWithData
{
    [backIMageView setImage:imageWithData];
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
